package com.six.biz;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.six.vo.Bill;
import com.six.vo.Customer;
import com.six.vo.Transfer;
import com.six.vo.User;
import com.six.vo.temp.TransFerDto;


/**
 * ITransferManagementBiz 过户业务接口
 * 
 */
//@Transactional(propagation=Propagation.REQUIRED)
public interface ITransferManagementBiz {
	/**
	 * 过户操作 完成后短信通知到客户知晓
	 * 
	 */
	public void transfer(String sellerId, String buyerId, String opUserId,Bill bill);
	/**
	 * 添加过户单出库单
	 * 
	 */
	public Transfer transferBody(Customer solder, Customer buyer, User user, Bill bill,
	String billFeeOther, String billFeeTruckage,String billPaid, String billPayable, String
	transferNote);
//	public Transfer transferBody(Customer solder, Customer buyer, User user, Bill bill,
//	String billFeeOther, String billFeeTruckage,String billPaid, String billPayable, String
//	transferNote)throws SMSException;
	/**
	 * 查询过户单列表
	 * 
	 */
	@Transactional(readOnly=true)
	public List<TransFerDto> findTransferList(String startTime, String endTime,String buyer, String
	solder);
	/**
	 * 作废过户单
	 * 
	 */
	public void deleteTransfer(String transferID, String inputbillID);
	/**
	 * 根据过户单 id 查询指定过户单
	 * 
	 */
	@Transactional(readOnly=true)
	public Transfer findTransferById(String transferId);

}
